package com.example.qxfw.nyqx.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.qxfw.common.entity.ny.QhYz;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
@DS("service")
public interface QhYzMapper extends BaseMapper<QhYz> {

    @Select("select weatherinfluence, terraininfluence " +
            "from qh_yz " +
            "where factorindex='${factorIndex}'")
    List<QhYz> selectList(String factorIndex);
}
